home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9407 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: qns2.qns.com!not-for-mail
  2. From: mjarvis@qns2.qns.com (Michael Jarvis)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: getcwd() on Solaris 2
  5. Date: 11 Mar 1996 04:02:20 -0600
  6. Organization: Questar Network Services
  7. Message-ID: <4i0tnc$frb@qns2.qns.com>
  8. References: <4hv1d7$f0a@nntp.flash.net>
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Creative Web Designs (Creative Web Designs (cwdesign@flash.net)) wrote:
  12. > I have an application that uses the function getcwd() on SunOS 4.1.3
  13. > (Solaris 1).  When I try to compile this application on the Solaris 2
  14. > operating system I get an unresolved reference: getcwd().
  15.  
  16. > Is this system call not supported by solaris 2 or am I not specifying
  17. > the right include directories?
  18.  
  19. The function getcwd() works just fine on my Solaris 2.5 box.  It's in
  20. libc.a, and the prototype is in unistd.h.
  21.  
  22.                                               -michael
  23. -- 
  24. Michael Jarvis   |  Finger for PGP Public key  |   QNSnet Technical Support
  25. mjarvis@qns.com  | http://www.qns.com/~mjarvis |   Questar Network Services
  26. GC3.1: GCS d s+++: a26 C++++ USLV++++$ P++++ L++ E--- W++ N++ !o K+ W-- !O 
  27. M- !V PS+ PE Y+ PGP+ t+ 5 X R tv b+++ DI+++ D++ G+ e>++ h---(*) r+++ y+++
  28.